﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WooCoo.Portal.Service
{
    public class PortalServiceModule:IModule
    {
        public string ModuleName
        {
            get { return "PortalService"; }
        }

        public Type DbContextType
        {
            get { throw new NotImplementedException(); }
        }

        private Type _DefaultEntityRepositoryType;
        public Type DefaultEntityRepositoryType
        {
            get
            {
                if (_DefaultEntityRepositoryType == null)
                    _DefaultEntityRepositoryType = typeof(WooCoo.Data.EF.DefaultEntityRepository<>);
                return _DefaultEntityRepositoryType;
            }
        }
    }
}
